package com.liyongjian.page.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.liyongjian.page.domain.enumm.ConfType;
import com.liyongjian.page.domain.enumm.LiveDieState;

@Entity
@Table(name = "p_conf")
public class Conf extends AbstractEntity {

    private static final long serialVersionUID = 3476944440169013821L;

    public String name;
    public Long sysId;
    public Date beginAt;
    @Column(name = "typee")
    public ConfType type;
    public LiveDieState state = LiveDieState.LIVE;

    public Conf() {}

    public Conf(Long id) {
        this.id = id;
    }
}
